IF NOT EXISTS (SELECT * FROM master.dbo.syslogins WHERE loginname = N'PREGASE\restol')
CREATE LOGIN [PREGASE\restol] FROM WINDOWS
GO
CREATE USER [PREGASE\restol] FOR LOGIN [PREGASE\restol] WITH DEFAULT_SCHEMA=[PREGASE\restol]
GO
